package com.csair.seam.infrastructure.ehome;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author: wurunbin
 * @Date: 2020/3/5 14:58
 * @Description:
 **/
@Getter
@Setter
public class EhomeParam {

    private String appId;

    private String pwd;

    private EhomeParamData jobDatas;

    public EhomeParam(String appId, String pwd, EhomeParamData jobDatas) {
        this.appId = appId;
        this.pwd = pwd;
        this.jobDatas = jobDatas;
    }

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("{\"appId\":\""+appId+"\",");
        sb.append("\"pwd\":\""+pwd+"\",");
        sb.append("\"jobDatas\":"+jobDatas.toString()+"");
        sb.append("}");
        return sb.toString();
    }
}
